<?php
session_start();
if($_SERVER['HTTP_HOST']=="localhost")
{
 	 /////pkt@2010
     $DB["dbName"] = "mycitydial";
	 $DB["host"]   = "localhost";
	 $DB["user"]   = "root";
	 $DB["pass"]   = "";
	 $link = mysql_pconnect($DB["host"],$DB["user"],$DB["pass"]) or die("Connection Failed");
	 mysql_select_db($DB["dbName"])or die("Database Error!");
}
else
{
	 global $DB;
	 
 
	 $DB["dbName"] = "mycitydi_db";
	 $DB["host"]   = "localhost";
	 $DB["user"]   = "mycitydi_user";
	 $DB["pass"]   = "2qXyQ,Zuv,d?";
	 
	$link = mysql_pconnect($DB["host"],$DB["user"],$DB["pass"]) or die("Connection Failed");
	 mysql_select_db($DB["dbName"])or die("Database Error!");

}

 date_default_timezone_set("Asia/Kolkata");
ini_set("session.gc_maxlifetime",3600);
error_reporting(E_ALL);
//ini_set('display_errors', '0');

include("function.inc.php");
include("SimpleImage.php");
include("mycity_class.php");
/*$qry_global=mysql_query("select * from global_setting where id=1")or die(mysql_error());
$global_fetch=mysql_fetch_array($qry_global);
$ADMIN_HTML_TITLE= stripslashes($global_fetch['admin_header_title']);
$ADMIN_EMAIL= stripslashes($global_fetch['admin_email']);
$SITE_NAME= stripslashes($global_fetch['website_name']);
$FRONT_END_TITLE= stripslashes($global_fetch['frontend_header_title']);
$SITE_URL= stripslashes($global_fetch['website_address']);
$META_KEYWORD= stripslashes($global_fetch['meta_keyword']);
$META_DISCRIPTION= stripslashes($global_fetch['meta_content']);
$GOOGLE_TRACKING = stripslashes($global_fetch['google_track_code']);
$SITE_URL= stripslashes($global_fetch['website_address']);
$SITE_ADDRESS= stripslashes($global_fetch['address']);
$SITE_PHONE= stripslashes($global_fetch['contact_no']);

$FACEBOOK=stripslashes($global_fetch['facebook']);
$FACEBOOK_link=stripslashes($global_fetch['facebook_link']);
$TWITTER_LINK=stripslashes($global_fetch['twitter_link']);
$YOU_TUBE_LINK=stripslashes($global_fetch['youtube_link']);*/


?>